package com.baizhi.dao;

import com.baizhi.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    List<User> findUser();
    void register(User user);
    void updateState(@Param("emails") String eamil, @Param("state") int state);
    User userMessage(String email);
    int selectId(String email);
}
